package com.pattern.factory.abstactFactory;

import com.pattern.factory.Bed;
import com.pattern.factory.Hotel;
import com.pattern.factory.HotelBed;
import com.pattern.factory.House;

/**
 * Description
 *
 * @author hubiao
 * @since 2020-08-19 21:17
 */
public class HotelFactory implements AbstartFactory {

    @Override
    public House createHouse() {
        return new Hotel();
    }

    @Override
    public Bed createBed() {
        return new HotelBed();
    }
}
